package com.intellagric.service.traceability.trace_record;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.RecordMachiningVo;
import com.intellagric.module.traceability.TransportRecordVo;
import com.intellagric.pojo.TraceRecordMachining;
import com.intellagric.pojo.TraceRecordTransport;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2019/1/12
 * @DESC： 运输物流记录服务接口
 */
public interface TransportrecordService {

    //增加运输物流记录
    ResponseMessage addTransportrecord(TraceRecordTransport recordTransport);

    //删除运输物流记录
    ResponseMessage deleteITransportrecord(String id);

    //修改运输物流记录
    ResponseMessage editTransportrecord(TraceRecordTransport recordTransport);

    //查询运输物流记录
    TraceRecordTransport getTransportrecordById(String id);
    LayuiDataGridResult getTransportrecordList();
    LayuiDataGridResult getTransportrecordPage(int page, int rows);
    LayuiDataGridResult getTransportrecordPageByVo(int page, int rows, TransportRecordVo transportRecordVo);

}
